home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ShareWare OnLine 2
/
ShareWare OnLine Volume 2 (CMS Software)(1993).iso
/
games2
/
rotise12.zip
/
MAKEFILE.BCC
< prev
next >
Wrap
Text File
|
1993-03-28
|
2KB
|
71 lines
# Makefile for Turboc/Borland C
# Copy this to 'makefile' and then just type 'make'
# Where is the Turbo/Borland C compiler and support files
BCCDIR=d:\bc
# Name of compiler
CC= bcc
LD= tlink
INCDIRS=-I. -I$(BCCDIR)\include
LIBDIRS=-L. -L$(BCCDIR)\lib
# Debugging flags vs. optimizing flags
DBGFLGS= -Od -v -2
RELFLGS= -O2 -2
CFLAGS=-w-pro -w-par -ml -DUSE_PROTOS -DHAVE_STRICMP -DHAVE_STRSTR -D__ANSI__ $(RELFLGS)
LDFLAGS=
.c.obj :
$(CC) -c $*.c
DEST = . # Where to put executable
HDRS = avl.h bb.h bb_pdb.h portab.h proto.h rdb.h \
rotise.h
OBJS = avl.obj bb_pdb.obj cmdtable.obj misc.obj \
rdb_play.obj realp.obj report.obj roster.obj rotise.obj \
standing.obj stenog.obj string.obj transact.obj getopt.obj
PROGRAM = rotise.exe
SRCS = avl.c bb_pdb.c cmdtable.c misc.c rdb_play.c \
realp.c report.c roster.c rotise.c standing.c stenog.c \
string.c transact.c
$(PROGRAM): turboc.cfg $(OBJS)
$(CC) -erotise $(LDFLAGS) *.obj
# Make the command file for the compiler
turboc.cfg : makefile
echo $(CFLAGS) >turboc.cfg
echo $(INCDIRS) >>turboc.cfg
echo $(LIBDIRS) >>turboc.cfg
avl.obj: avl.h
bb_pdb.obj: avl.h bb.h bb_pdb.h portab.h rdb.h rotise.h
cmdtable.obj: bb_pdb.h portab.h rdb.h rotise.h
misc.obj: bb.h bb_pdb.h portab.h rdb.h rotise.h
rdb_play.obj: bb_pdb.h portab.h rdb.h rotise.h
realp.obj: bb_pdb.h portab.h rdb.h rotise.h
report.obj: bb_pdb.h portab.h rdb.h rotise.h
roster.obj: bb_pdb.h portab.h rdb.h rotise.h
rotise.obj: bb_pdb.h portab.h rdb.h rotise.h
standing.obj: bb_pdb.h portab.h rdb.h rotise.h
stenog.obj: bb_pdb.h portab.h rdb.h rotise.h
string.obj: bb_pdb.h portab.h rdb.h rotise.h
transact.obj: bb_pdb.h portab.h rdb.h rotise.h